package cs304.p3.library.model;

import cs304.p3.library.model.DBTableModel.TableType;
import cs304.p3.library.view.DBObjectDialog.DBOActionType;

public class DBObjectForm {
	
	private TableType tableType;
	private DBOActionType actionType;
	private String[] userArgs;
	
	public void initArgs(int size){
		userArgs = new String[size];
	}
	
	public void setArg(String arg, int index){
		userArgs[index] = arg;
	}
	
	public void setTableType(TableType type){
		tableType = type;
	}
	
	public void setActionType(DBOActionType type){
		actionType = type;
	}
	
	public DBOActionType getActionType(){
		return actionType;
	}
	
	public TableType getTableType(){
		return tableType;
	}
	
	public String[] getArgs(){
		return userArgs;
	}

}
